# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Firmicus <francois.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=ttf-khmer
_pkgname=All_KhmerOS
pkgver=5.0
pkgrel=5
pkgdesc='Fonts for Khmer and Latin alphabets'
# url='http://www.khmeros.info/en/fonts' # dead
url='http://sourceforge.net/projects/khmer/'
license=('LGPL')
arch=('any')
depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
source=("http://downloads.sourceforge.net/project/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%20${pkgver}-%20LGPL%20Licence/${_pkgname}_${pkgver}.zip")
sha1sums=('4a17c919b93f4b99765cd476708ef3a79a925f37')

install=install

package() {
	cd "${srcdir}/${_pkgname}_${pkgver}"
	install -dm755 "${pkgdir}"/usr/share/fonts/TTF
	install -m644 *.ttf "${pkgdir}/"usr/share/fonts/TTF/
}
